package ooday05;

public class GetterSetterDemo {
    public static void main(String[] args) {
        Point o = new Point();
        o.setY(100);
        o.setX(200);
        System.out.println(o.getX()+", "+o.getY());
    }
}
